package com.example.entity;

import lombok.Data;
import java.io.Serializable;
import java.util.Date;

public class CategoryInfo implements Serializable {
    private static final long serialVersionUID = 1L;

    private Long id;
    private String categoryCode;        // 分类编码
    private String categoryName;        // 分类名称
    private String categoryShortCode;   // 分类简称
    private Integer level;              // 分类层级
    private String parentCode;          // 父级分类编码
    private String parentName;          // 父级分类名称
    private Integer state;              // 状态（1=启用，0=停用）
    private Integer displaySeq;         // 显示顺序
    private Integer skuQuantity;        // SKU数量
    private Date createTime;            // 创建时间

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCategoryCode() {
        return categoryCode;
    }

    public void setCategoryCode(String categoryCode) {
        this.categoryCode = categoryCode;
    }

    public String getCategoryName() {
        return categoryName;
    }

    public void setCategoryName(String categoryName) {
        this.categoryName = categoryName;
    }

    public String getCategoryShortCode() {
        return categoryShortCode;
    }

    public void setCategoryShortCode(String categoryShortCode) {
        this.categoryShortCode = categoryShortCode;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getParentCode() {
        return parentCode;
    }

    public void setParentCode(String parentCode) {
        this.parentCode = parentCode;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getDisplaySeq() {
        return displaySeq;
    }

    public void setDisplaySeq(Integer displaySeq) {
        this.displaySeq = displaySeq;
    }

    public Integer getSkuQuantity() {
        return skuQuantity;
    }

    public void setSkuQuantity(Integer skuQuantity) {
        this.skuQuantity = skuQuantity;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}